package com.bw.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bw.common.utils.PageUtils;
import com.bw.common.vo.ShopSeckillVo;
import com.bw.goods.entity.SeckillActivityEntity;

import java.util.Map;

/**
 * 
 *
 * @author Hao_YunKai
 * @email 2745578447@qq.com
 * @date 2022-02-22 21:44:15
 */
public interface SeckillActivityService extends IService<SeckillActivityEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils voList(Integer page, Integer size, String goodsName);

    ShopSeckillVo seckillByGoodsId(Long goodsId);

    Integer setSeckillStock(Long goodsId, Integer num);
}

